package com.service.uai;

import com.bpms.common.VO;
import com.bpms.eai.IPackage;
import com.bpms.eai.ISyncComm;
import com.bpms.esb.IService;
import com.service.uai.engine.comm.ATMClient;
import com.service.uai.engine.pack.ATMClientPack;

public class autoyanyin implements IService {
/**
 * 输入参数：
 * wf_instanceid 流程id
 * FID       业务要素ID
 * accountno 账号
 * pingzhno  凭证号
 * money     金额
 * cpdate    出票日期
 * zhaozhang 找章区域
 * fazhi	 阀值
 * YYBIZTYPE 验印业务类型
 * YYPAYFLAG 验印支付方式
 * imgurl	 图像索引
 */
	public VO exec(VO args) {
		
		
		return null;
	}
	
	public static void main(String[] args) {
		IPackage pack=new ATMClientPack();
		ISyncComm syncComm=new ATMClient();
		
		byte[] buffer=pack.prepareBuffer("atm", new VO());
		if(buffer==null) return ;
		byte[] resultBuffer=syncComm.sendBuffer(buffer);
		if(resultBuffer==null) return ;
		VO resultVO=pack.parseBuffer(resultBuffer);
	}

}
